﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PedestrianSensingRadar.Area
{
    public class ZebraCheckArea : CheckArea
    {
        private Pen drawPen = new Pen(Color.Red, 2);
        public ZebraCheckArea(Rectangle r) : base(r)
        {
         
        }

        public override void Draw(Graphics gra)
        {
            gra.DrawRectangle(drawPen, rect);

            foreach (PosSizableRect pos in Enum.GetValues(typeof(PosSizableRect)))
            {
                gra.DrawRectangle(drawPen, GetRect(pos));
            }
        }
    }
}
